package com.lzy.cloud.dashboard;

import org.springframework.boot.Banner;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ellengou
 * Date: 2018-03-14
 * Time: PM 7:40
 *
 * @author ellengou
 */

@EnableHystrixDashboard
@SpringCloudApplication
@SpringBootApplication
public class LzyCloudHystrixDashboardApplication {
    public static void main(String[] args) {
//        SpringApplication.run(LzyCloudHystrixDashboardApplication.class, args);
        new SpringApplicationBuilder(LzyCloudHystrixDashboardApplication.class).bannerMode(Banner.Mode.LOG).run(args);
    }
}
